<!doctype html>
<html lang="en">
  <head>
    <!-- Google tag (gtag.js) -->
    <script
      async
      src="https://www.googletagmanager.com/gtag/js?id=G-9LZGY0J38Z"
    ></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag() {
        dataLayer.push(arguments);
      }
      gtag("js", new Date());
      gtag("config", "G-9LZGY0J38Z");
    </script>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>flag-icons: Free Country Flags in SVG</title>

    <!-- Open Graph -->
    <meta property="og:title" content="flag-icons: Free Country Flags in SVG" />
    <meta property="og:type" content="website" />
    <meta property="og:url" content="https://flagicons.lipis.dev" />
    <meta
      property="og:description"
      content="A curated collection of all country flags in SVG"
    />
    <meta
      property="og:image"
      content="https://flagicons.lipis.dev/assets/og.png"
    />
    <link rel="canonical" href="https://flagicons.lipis.dev" />
    <link rel="icon" href="/favicon.ico" />

    <!-- Bootstrap -->
    <link
      href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css"
      rel="stylesheet"
      crossorigin="anonymous"
    />
    <!-- Bootstrap Icons -->
    <link
      rel="stylesheet"
      href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css"
    />
    <!-- Docs -->
    <link href="./assets/docs.css" rel="stylesheet" />
  </head>
  <body>
    <div class="header">
      <div class="container-md">
        <h1>Free Country Flags in SVG</h1>
        <p class="lead">
          A curated collection of all country flags in SVG — plus the CSS for
          easier integration.
        </p>
        <p class="lead">
          All flags are in <strong>4x3</strong> and <strong>1x1</strong> formats
          only.
        </p>
        <pre class="install">yarn add flag-icons</pre>
        <p>For more instructions check out on GitHub.</p>
        <a class="btn btn-light me-2" href="https://github.com/lipis/flag-icons"
          ><i class="bi bi-github"></i> View on GitHub</a
        >
        <a
          class="btn btn-light"
          href="https://github.com/lipis/flag-icons/archive/main.zip"
          ><i class="bi bi-cloud-arrow-down-fill"></i> Download Flags</a
        >
      </div>
    </div>
    <div class="container-md">
      <div class="switch">
        <a id="click-4x3" class="hide" href="">4x3</a>
        <a id="click-1x1" href="">1x1</a>
      </div>
      <h2>ISO 3166-1-alpha-2 Flags</h2>
      <div id="iso-flags" class="row"></div>
      <h2>Other Flags</h2>
      <div id="non-iso-flags" class="row"></div>
    </div>
    <script src="./assets/docs.js"></script>
  </body>
</html>
